import { AxiosRequestConfig } from "axios";

// 定义interface规范返回结果的类型
export interface IResultOr {
  code: string,
  success: boolean,
  message: string,
  result: any,
}

// 定义interface首页获取服务列表传参的类型
export interface IRoomListParams extends AxiosRequestConfig {
  pageNo: number,
  pageSize: number,
  cityCode: string,
}

// 定义interface获取房屋列表信息传递的参数
export interface IRoomDetailParams extends AxiosRequestConfig {
  id: number,
}
